package interview.eventSystem;

import java.util.Date;

/**
 * Created by richard on 6/3/14.
 */
public class Event {
    private static Long id = 0l;
    private Long timeStamp;
    private String message;

    public Event() {
        this.id ++;
        this.timeStamp = new Date().getTime();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(Long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public void setMessage(String message){this.message = message;}
    public String getMessage(){return this.message;}

}
